﻿namespace DouyinScraper
{
    public class ModernTextBox : TextBox
    {
        private const int ControlHeight = 150; // 统一高度

        public ModernTextBox()
        {
            Height = ControlHeight; // 统一设置高度
        }
        protected override void OnCreateControl()
        {
            base.OnCreateControl();
            BorderStyle = BorderStyle.None;
      
            Height = ControlHeight; // 确保高度一致
        }
    }
}